package com.hqyj.lyf.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * @author Qiuluoer
 * @date 2022/5/27 13:48
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("question_bank")
public class QuestionBank {
    @TableId(value = "qu_id",type = IdType.AUTO)
    private Integer quId;
    @TableField(value = "qu_content")
    private String quContent;
    @TableField(value = "qu_aoption")
    private String quAoption;
    @TableField(value = "qu_boption")
    private String quBoption;
    @TableField(value = "qu_coption")
    private String quCoption;
    @TableField(value = "qu_doption")
    private String quDoption;
    @TableField(value = "qu_type")
    private String quType;
    @TableField(value = "qu_score")
    private Integer quScore;
    @TableField(value = "qu_answer")
    private String quAnswer;
    @TableField(value = "sub_id")
    private Integer  subId;
    @TableField(value = "up_datetime")
    private Timestamp upDateTime;
    @TableField(exist = false)
    private String subName;

}
